package dk.aiszone.lang.autosource.generatorobjects.interfaces;


/**
 * Extension of the <code>BlockObject</code> interface for objects,<br>
 * which are deemed simple.
 * 
 * @author Ais
 */
public interface SimpleBlockObject extends ChildContainer, Cloneable {

    /**
     * <code>SimpleBlockObject</code> must be cloneable
     * 
     * @return The cloned instance.
     */
    public abstract Object clone();

    /**
     * Converts contents of the <code>SimpleBlockObject</code> to a <code>String</code>.
     * 
     * @return <code>String</code> representation of the <code>SimpleBlockObject</code>.
     */
    public abstract String toJava();
}